package com.feature50.makeover;

import org.jdesktop.swingx.JXPanel;
import org.jdesktop.swingx.painter.gradient.BasicGradientPainter;

import javax.swing.*;
import java.awt.*;

public class DefaultPanel extends JXPanel {
    public DefaultPanel() {
        setOpaque(false);
        setBackgroundPainter(new BasicGradientPainter(
                0f, 0f, new Color(145, 145, 145),
                0f, 1f, new Color(84, 84, 84)
        ));

        setLayout(new GridLayout(1, 1));

        JPanel panel = new JPanel();
        panel.setOpaque(false);
        add(panel);
    }
}